package kr.co.hanbit;

public class MP3p {
	private String color;
	private int memory;
	static String maker;
	
/*	public MP3p(){
		color = null;
		memory = 0;
	}
	*/
	public void dispColor(){
		System.out.println(color);
	}
	
	public void memoryUp(int n){
		memory +=n;   //memory=memory+n;
		
	}
	public void setColor(String c){
		color = c;
	}
	public void dispMemoryUp(){
		System.out.println(memory);
	}

	public static void main(String[] args) {
		MP3p m3; 
		MP3p m4;
		m3 = new MP3p();
		m4 = new MP3p();
		/*Sub1 sub1;
		sub1 = new Sub1();
		sub1.setNumber(1);
		sub1.dispNumber();
		System.out.println(m3.color);
		System.out.println(m3.memory);*/
	}
}
  class Sub1{
	  int number;

	public void setNumber(int n) {
		number = n;
	}
	public void dispNumber() {
		System.out.println(number);	
	  
	}}
